package com.aso114.project.mvp.presenter;


import com.aso114.project.base.BaseMvpPresenter;
import com.aso114.project.mvp.view.MainView;

/**
 * username:Created by hsj on 2016/12/13 0013.
 * class：
 * 类描述：主界面
 */

public class MainPresenter extends BaseMvpPresenter<MainView> implements IMainPresenter {
    @Override
    public void initData() {
        checkViewAttach();
        showMainIndexFragment();
    }

    @Override
    public void showMainIndexFragment() {
        mvpView.showMainIndexFragment();
    }

    @Override
    public void showMainTwoFragment() {
        mvpView.showMainTwoFragment();
    }

    @Override
    public void showMainThreeFragment() {
        mvpView.showMainThreeFragment();
    }
}
